public class Daily extends Product{
    private String size;
    private String usePlace;

    @Override
    public void displayInfo() {
        super.displayInfo();
        System.out.println(size + " " + usePlace);
    }

    public Daily() {
    }

    public Daily(String size, String usePlace) {
        this.size = size;
        this.usePlace = usePlace;
    }

    /**
     * 获取
     * @return size
     */
    public String getSize() {
        return size;
    }

    /**
     * 设置
     * @param size
     */
    public void setSize(String size) {
        this.size = size;
    }

    /**
     * 获取
     * @return usePlace
     */
    public String getUsePlace() {
        return usePlace;
    }

    /**
     * 设置
     * @param usePlace
     */
    public void setUsePlace(String usePlace) {
        this.usePlace = usePlace;
    }

    public String toString() {
        return "Daily{size = " + size + ", usePlace = " + usePlace + "}";
    }
}
